package com.miao.Mapper;

/**
 * @Author <a href="https://gitee.com/a-tom-is-cry">Xing</a>
 * @Date 2025/7/24 21:53
 * @Description 装饰器
 */
public interface EntityDtoConverter<T, D> {
    D toDto(T entity);
    T toEntity(D dto);
}